package com.alinesno.cloud.base.logger.service;

import org.springframework.data.repository.NoRepositoryBean;

import com.alinesno.cloud.base.logger.entity.LogTriggerEntity;
import com.alinesno.cloud.common.facade.services.IBaseService;

/**
 * <p> 预警触发 服务类 </p>
 *
 * @author WeiXiaoJin
 * @since 2020-01-26 09:30:11
 */
@NoRepositoryBean
public interface ILogTriggerService extends IBaseService<LogTriggerEntity, String> {

	/**
	 * 保存触发条件
	 * @param dto
	 * @param conditionName
	 * @param conditionValue
	 * @param conditionSpel
	 */
	void saveTrigger(LogTriggerEntity dto, String[] conditionName, String[] conditionValue, String[] conditionSpel);

}
